#!/bin/bash

ip=`curl http://ddns.oray.com/checkip`
ip=${ip:75:16}

curl http://erasinoo:lingdian@ddns.oray.com/ph/update?hostname=erasinoo.gicp.net&myip=${ip} >> oray.log
